const {User} = require('../../../models/User');

module.exports = async (req, res) => {
	const {user_id} = req.body;
    try{
    const receivingAdd = await User.findOne({user_id:user_id},{"receivingAddress":1});
        res.send({errCode:"0",msg:"查询成功",data:{receivingAddress:receivingAdd}})
    }catch(e){
        res.status(400).send({errCode:"1",msg:"修改失败"})
    }
}